return{
  "nvim-treesitter/nvim-treesitter",
  event = { "BufReadPre", "BufNewFile" },
  build = ":TSUpdate",
  config = function()
    -- import nvim-treesitter plugin
    local treesitter = require("nvim-treesitter.configs")

    -- configure treesitter
    treesitter.setup({ -- enable syntax highlighting
      highlight = {
        enable = true,
      },
      -- enable indentation
      indent = { enable = true },
      -- ensure these language parsers are installed
      ensure_installed = {
        --"json",
        --"javascript",
        --"typescript",
        --"tsx",
        --"yaml",
        --"html",
        --"css",
        --"prisma",
        --"markdown",

        --"svelte",
        --"graphql",
        --"bash",
        "lua",
        --"vim",
        --"dockerfile",
        "gitignore",
        --"query",
        --"vimdoc",
        --"c",
      },
      incremental_selection = {
        enable = true,
        keymaps = {
          init_selection = "<C-T>",
          node_incremental = "<C-T>",
          scope_incremental = false,
          node_decremental = "<bs>",
        },
      },
    })

    -- use bash parser for zsh files
    vim.treesitter.language.register("bash", "zsh","fish")
  end,
}
